package com.example.demozy.mapper;

import com.example.demozy.entity.Stock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 张展鹏
 */
@Mapper
public interface StockMapper {

    /**
     * 获取用户所有的条件单回测报告
     */
    @Select("SELECT * FROM stock")
    List<Stock> listAllStocks();

}
